﻿using TrackSystem.Entities.Dtos.Channel;
using TrackSystem.Entities.RequestFeatures;
using TrackSystem.UI.Server.Features;

namespace TrackSystem.UI.Server.HttpRepository.Channel
{
    public interface IChannelHttpRepository : IHttpRepository<ChannelDto, ChannelWithSensorsDto>
    {
        Task<PagingResponse<ChannelDto>> GetChannels(RequestParameter productParameters);

        Task<IEnumerable<ChannelWithSensorsDto>?> GetAllWithSensors();

        //Task<IEnumerable<ChannelDto>> GetAll();

        //Task<ApiResult<ChannelDto>> InsertAsync(ChannelWithSensorsDto channel);

        //Task<ApiResult<ChannelDto>> UpdateAsync(ChannelWithSensorsDto channel);

        //Task<ApiResult<ChannelDto>> DeleteAsync(int id);
    }
}
